package com.smfx.yxt.daoSqlserver;

import java.util.List;

import com.smfx.yxt.model.ClassTermPoints;
import com.smfx.yxt.page.Page;
import com.smfx.yxt.reqVo.PointsReqVO;
import com.smfx.yxt.view.PointItemView;
import com.smfx.yxt.view.PointTotalView;

public interface ClassTermPointsMapper {

    int insertSelective(ClassTermPoints record);

    ClassTermPoints selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ClassTermPoints record);
    //初始化班级学期积分数据
    int addClassTermPoints(PointsReqVO vo);
    //更新班级学期积分
    int updateClassTermPoints(PointsReqVO vo);
    //更新班级总积分
    int updateClassTotalPoints(PointsReqVO vo);
    
    PointTotalView selectTotalPointForClass(PointsReqVO vo);
    //分页查询班级积分总慨
    List<PointTotalView> selectTotalPointForClassByPage(Page<PointTotalView> page);
    //分页查询班级积分明细
    List<PointItemView> selectPointItemForClassByPage(Page<PointItemView> page);
    
}